How do I get the file info from a Windows file?

Hallo,

does anyone know, how I get the timestamp from a file on the windows platform via Stat ?

Rgds STB


Molgy - Mon Apr 14 09:50:55 EDT 2014

Re: How do I get the file info from a Windows file?
llandale - Mon Apr 14 13:47:14 EDT 2014

Look for "Stat" in the DXL manual, found in section "Operating system commands".  I don 't do it, but perhaps it looks like this:

  • string NameFile = "c:/Whereever/Whaterver/File.txt"
  • Stat stt = create(NameFile)
  • print (modified(stt)) "\t" NameFile
  • delete(stt)

-Louie

Re: How do I get the file info from a Windows file?
Molgy - Tue Apr 15 02:47:01 EDT 2014

llandale - Mon Apr 14 13:47:14 EDT 2014

Look for "Stat" in the DXL manual, found in section "Operating system commands".  I don 't do it, but perhaps it looks like this:

  • string NameFile = "c:/Whereever/Whaterver/File.txt"
  • Stat stt = create(NameFile)
  • print (modified(stt)) "\t" NameFile
  • delete(stt)

-Louie

Thank you.